package br.com.honorato.dao;

import java.util.List;

import javax.persistence.EntityManager;

import br.com.honorato.exception.DAOException;

public interface GenericDAO<T>
{
	public EntityManager getEntityManager();

	public T selectByKey(Object id);

	public List<T> selectAll();

	public T save(T object) throws DAOException;

	public void delete(T object) throws DAOException;
}